// 文件路径：src/main/java/com/nep/NEPG/model/AQIData.java
package com.nep.NEPG.model;

public class AQIData {
     private String id;
     private String taskId;
     private String areaCode;
     private String areaName;
     private double pm25;
     private double pm10;
     private double so2;
     private double no2;
     private double o3;
     private double co;
     private boolean submitted;

     // 全参数构造函数
     public AQIData(String id, String taskId, String areaCode, String areaName,
                    double pm25, double pm10, double so2, double no2,
                    double o3, double co, boolean submitted) {
          this.id = id;
          this.taskId = taskId;
          this.areaCode = areaCode;
          this.areaName = areaName;
          this.pm25 = pm25;
          this.pm10 = pm10;
          this.so2 = so2;
          this.no2 = no2;
          this.o3 = o3;
          this.co = co;
          this.submitted = submitted;
     }

     public AQIData() {

     }

     // Getter和Setter方法
     public String getId() { return id; }
     public void setId(String id) { this.id = id; }

     public String getTaskId() { return taskId; }
     public void setTaskId(String taskId) { this.taskId = taskId; }

     public String getAreaCode() { return areaCode; }
     public void setAreaCode(String areaCode) { this.areaCode = areaCode; }

     public String getAreaName() { return areaName; }
     public void setAreaName(String areaName) { this.areaName = areaName; }

     public double getPm25() { return pm25; }
     public void setPm25(double pm25) { this.pm25 = pm25; }

     // ...其他getter/setter...

     public boolean isSubmitted() { return submitted; }
     public void setSubmitted(boolean submitted) { this.submitted = submitted; }
}